package com.lx.core.weight.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @author lx
 * @date 2025/08/26 12:16
 **/
@TableName("goods_type")
@Data
public class GoodsType {
    private int id;
    private String name;
    private Date createTime;

    private boolean prioritySelect;

    public GoodsType(String name, Date createTime, boolean prioritySelect) {
        this.name = name;
        this.createTime = createTime;
        this.prioritySelect = prioritySelect;
    }

    public GoodsType(int id, String name, Date createTime, boolean prioritySelect) {
        this.id = id;
        this.name = name;
        this.createTime = createTime;
        this.prioritySelect = prioritySelect;
    }
}
